gdk: Make more private functions static
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 28 Apr 2017 21:55:47 +0000 (22:55 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 28 Apr 2017 22:03:10 +0000 (23:03 +0100)
These symbols are not exported and are local to their compilation unit.

gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkwindow-x11.c

index ae706bb34ee25bf72adaaaf924d4d37d2f1e49fd..4ffbce5ff42441eeaffaab7ecba5cd336cff28a6 100644 (file)
@@ -1098,7 +1098,7 @@ find_frame_timings (GdkFrameClock *clock,
  * a time representation with high accuracy. If there is not a common
  * time source, then the time synchronization will be less accurate.
  */
-gint64
+static gint64
 server_time_to_monotonic_time (GdkX11Display *display_x11,
                                gint64         server_time)
 {
index 861811eba5d8fe994812783635a17d81197a259a..bd3040b1d70ceaf588507bff4fbb359553b776d8 100644 (file)
@@ -3079,7 +3079,7 @@ gdk_dnd_handle_button_event (GdkDragContext       *context,
   return TRUE;
 }
 
-gboolean
+static gboolean
 gdk_dnd_handle_drag_status (GdkDragContext    *context,
                             const GdkEventDND *event)
 {
index 661b5cc86edd4bbcc5a35b0f7a8695da5ffc69f9..87330dfe74a69f02a7ff42385f818a5697e885ca 100644 (file)
@@ -196,7 +196,7 @@ _gdk_x11_window_update_size (GdkWindowImplX11 *impl)
     }
 }
 
-void
+static void
 gdk_x11_window_get_unscaled_size (GdkWindow *window,
                                   int *unscaled_width,
                                   int *unscaled_height)